package com.canopys.study.open.test.designpatterns.singleton;

/**
 * @Author: Canopys
 * @Descrption:
 * @Date: Created in 22:48 2019/9/24
 * @Modified By:
 */
public class SingletonHungry {

    private static final SingletonHungry instance = new SingletonHungry();

    private SingletonHungry() {}

    public static SingletonHungry getInstance() {
        return instance;
    }

    public void doSomething() {
        System.out.println("SingletonHungry do Something");
    }
}
